<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2021/5/7
  Time: 15:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>购物车页面</title>
</head>
<body>
<table border="1" width="700px" cellpadding="10" cellspacing="0" align="center">
    <caption><h2>我的购物车</h2></caption>
    <tr>
        <th>商品编号</th>
        <th>商品名称</th>
        <th>商品价格</th>
        <th>商品描述</th>
        <th>上架时间</th>
    </tr>
    <c:forEach items="${list}" var="pd">
        <tr>
            <td>${pd.pid}</td>
            <td>${pd.pname}</td>
            <td>${pd.price}</td>
            <td>${pd.pdesc}</td>
            <td>${pd.pdate}</td>
        </tr>
    </c:forEach>
</table>
<h3 align="center">
    <a href="javascript:history.back()">返回</a>
</h3>
</body>
</html>